package com.ly.cloud.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.ly.cloud.dto.CodeRuleTemplateDto;
import com.ly.cloud.vo.CodeRuleTemplateVo;

import java.util.List;

/**
 * @Author: pengshiqng
 * @Description:
 * @Date: Create in 2018/12/6
 */
public interface CodeRuleTemplateService {

    Page<CodeRuleTemplateVo> selectPage(Page<CodeRuleTemplateVo> page, String templateName);

    int deleteById(Long id) ;

    int deleteByIds(List<Long> ids) ;

    int insert(String loginUserName , CodeRuleTemplateDto dto) ;

    int update(String loginUserName , CodeRuleTemplateDto dto) ;
}
